export interface DepartmentUserItem {
  id?: string
  username?: string
  account?: string
  email?: string
  createTime?: string
  role?: string
  department?: any
}

export interface DepartmentUserResponse {
  list?: DepartmentUserItem[]
  total?: number
}
export interface UserListAlltype {
  createBy?: string
  createTime?: any
  updateBy?: string
  updateTime?: any
  remark?: string
  userId?: number
  deptId?: number
  userName: string
  nickName?: string
  email?: string
  phonenumber?: number
  sex?: number
  avatar?: string
  password?: null
  status?: number
  delFlag?: number
  loginIp?: string
  loginDate?: any
  dept?: {
    createBy?: string
    createTime?: any
    updateBy?: string
    updateTime?: any
    remark?: string
    deptId?: number
    parentId?: string
    ancestors?: string
    deptName?: string
    orderNum?: number
    leader?: string
    phone?: string
    email?: string
    status?: string
    delFlag?: string
    parentName?: string
    children?: any
  }
  roles?: any
  roleIds?: string
  postIds?: string
  roleId?: string
  admin?: boolean
}
export interface ResetPwdType {
  userId: number
  password: string
}
